package com.ogilvy.cms.service;

import java.util.List;
import java.util.Map;

import com.ogilvy.cms.bean.CmsTemplate;
import com.ogilvy.frame.service.BaseService;

public interface CmsTemplateService extends BaseService{
    public List<CmsTemplate> query(CmsTemplate template);
    
    public List<CmsTemplate> queryByScreen(Map<String,String> screenMap);
	
	public CmsTemplate add(CmsTemplate template);
	
	public boolean modify(CmsTemplate template);
	
	public boolean del(int templateid);
	
	public List<CmsTemplate> findById(CmsTemplate template);

	public List<CmsTemplate> findByName(Map<String,String> screenMap);
	
	public boolean checkTemplateName(String cmtName);
	
}
